package com.health.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.health.dao.UserMapper;
import com.health.pojo.User;

import javax.annotation.Resource;

@Service
public class UserServiceImple implements UserService {

    @Resource
    private UserMapper userMapper;

    @Override
    public User findDetails(String username) {
        return userMapper.findDetails(username);
    }
}
